package com.digitalchina.lxnsy.activity.farmVideo;

import android.webkit.JavascriptInterface;

import com.digitalchina.lxnsy.base.BaseHtmlActivity;

/**
 * ================================================
 * 项目名称：android
 * 类描述：类型选择
 * 创建人：yzm
 * 创建时间：2020/1/8 17:26
 * 修改备注：
 * ================================================
 */
public class TypeChooseActivity extends BaseHtmlActivity {

    @Override
    protected void loadHtml() {
        webView.addJavascriptObject(new JsApi(), null);
        loadUrl("video-type-choose");
        setTitle("类型选择");
    }

    @Override
    public void rightOnClick() {

    }

    public class JsApi {
        //视频二级列表
        @JavascriptInterface
        public void goVideoList2(Object msg) {
            go(VideoList2Activity.class, "msg", msg.toString());
        }
    }
}
